package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IRoleService {

    PageResult query(QueryObject qo);

    void save(Role role);

    void update(Role role);

    void delete(Long id);

    List<Role> listAll();
}
